package com.tedu.account.mapper;

import com.tedu.account.pojo.dto.AccountQuery;
import com.tedu.account.pojo.dto.AccountSaveParam;
import com.tedu.account.pojo.entity.Account;
import com.tedu.account.pojo.vo.AccountVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountMapper {
    void saveAccount(Account account);

    List<AccountVO> selectAccount(AccountQuery accountQuery);

    AccountVO selectAccountByUserId(Integer id);

    void deleteAccount(Integer id);

    void updateAccount(Account account);
}
